using System;

namespace Phoenix.Framework
{
    public interface IControllerFactory
    {
        T Create<T>(ControllerActionContext context) where T : Controller;
        Controller Create(Type controllerType, ControllerActionContext context);
        void Release(Controller controller);
    }
}